package examresult;

import java.sql.Date;

public class Examresult {

	private int id;
	private Date exam_date;
	private int score;
	private int st_id;
	private int sb_id;

	public Examresult() {
	}

	public Examresult(Date exam_date, int score, int st_id, int sb_id) {
		super();
		this.exam_date = exam_date;
		this.score = score;
		this.st_id = st_id;
		this.sb_id = sb_id;
	}

	public Examresult(int id, Date exam_date, int score, int st_id, int sb_id) {
		super();
		this.id = id;
		this.exam_date = exam_date;
		this.score = score;
		this.st_id = st_id;
		this.sb_id = sb_id;
	}

	@Override
	public String toString() {
		return "Examresult [id=" + id + ", exam_date=" + exam_date + ", score="
				+ score + ", st_id=" + st_id + ", sb_id=" + sb_id + "]";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Date getExam_date() {
		return exam_date;
	}

	public void setExam_date(Date exam_date) {
		this.exam_date = exam_date;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	public int getSt_id() {
		return st_id;
	}

	public void setSt_id(int st_id) {
		this.st_id = st_id;
	}

	public int getSb_id() {
		return sb_id;
	}

	public void setSb_id(int sb_id) {
		this.sb_id = sb_id;
	}
}